import guid from './function/guid.js'
import file from './function/file.js'
import download from './function/download.js'
import debounce from './function/debounce.js'
import upload from './function/upload.js'
import date from './function/date.js'
import bluetooth from './function/bluetooth.js'
import scale from './function/scale.js'
import url from './function/url.js'
import sleep from './function/sleep.js'
import { http } from '@/common/service.js'
const $lizhao = {
	file,
	download,
	debounce,
	upload,
	date,
	bluetooth,
	scale,
	url,
	sleep,
	guid,
}
function init(app) {
	uni.$lizhao=$lizhao
	uni.$http = http
	app.config.globalProperties.$lizhao = $lizhao
	app.config.globalProperties.$http = http
}
export default {
	init
} 
